//
//  AL_CollectionViewCell_OneClass.m
//  22-homework-QQMV-ALi
//
//  Created by 王道林 on 16/8/14.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "AL_CollectionViewCell_OneClass.h"
#import "AL-ModelPic.h"
#import "UIImageView+WebCache.h"
@interface AL_CollectionViewCell_OneClass ()
@property (weak, nonatomic) IBOutlet UIImageView *imageViewC;
@property (weak, nonatomic) IBOutlet UILabel *lableName;

@end

@implementation AL_CollectionViewCell_OneClass

- (void)awakeFromNib {
    [super awakeFromNib];
    self.contentView.backgroundColor = [UIColor colorWithRed:0.059 green:0.075 blue:0.094 alpha:1.000];
    // Initialization code
}

- (void)setModelPic:(AL_ModelPic *)modelPic
{
    _modelPic = modelPic;
    _lableName.text = _modelPic.name;
    [_imageViewC sd_setImageWithURL:[NSURL URLWithString:_modelPic.picUrl] placeholderImage:[UIImage imageNamed:@"1"]];
}



@end
